#include <iostream>
using namespace std;

/**
 * 计算（a+b）*c
 * 
 */
int main() {
    int a, b, c;
    cin >> a >> b >> c;
    cout << (a + b) * c << endl;
    return 0;
}